package com.guigu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.OrdersParticulars;

import java.util.List;
import java.util.Map;

public interface OrdersParticularsService extends IService<OrdersParticulars> {

    Page<OrdersParticulars> queryOrdersParticulars(OrdersParticulars ordersParticulars,Integer pageno, Integer pagesize);

    Page<OrdersParticulars> queryOrdersParticularsreturn(Integer loginUserId,OrdersParticulars particulars,Integer pageno, Integer pagesize);

    //根据订单查看详情
    List<OrdersParticulars> queryDetailByOid(Integer id);

    //根据订单id查询详情
    List<OrdersParticulars> queryParticulars(Integer id);

    //根据订单查询订单详情
    OrdersParticulars queryDeatilById(Integer id);

    //未出货可直接退款
    Map returnMoneyById(OrdersParticulars detail);

    //退款前查询订单详情和订单信息
    Map queryDeatilById2(Integer id);
}
